home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 53 75 | 72 66 61 63 65 20 53 70 |ts of Su|rface Sp|
|000000b0| 65 63 69 66 69 63 61 74 | 69 6f 6e 3c 2f 54 49 54 |ecificat|ion</TIT|
|000000c0| 4c 45 3e 0a 0a 3c 4d 45 | 54 41 20 48 54 54 50 2d |LE>..<ME|TA HTTP-|
|000000d0| 45 51 55 49 56 3d 22 43 | 6f 6e 74 65 6e 74 2d 54 |EQUIV="C|ontent-T|
|000000e0| 79 70 65 22 20 43 4f 4e | 54 45 4e 54 3d 22 74 65 |ype" CON|TENT="te|
|000000f0| 78 74 2f 68 74 6d 6c 3b | 20 63 68 61 72 73 65 74 |xt/html;| charset|
|00000100| 3d 75 74 66 2d 38 22 3e | 0a 3c 4d 45 54 41 20 4e |=utf-8">|.<META N|
|00000110| 41 4d 45 3d 22 76 69 65 | 77 70 6f 72 74 22 20 43 |AME="vie|wport" C|
|00000120| 4f 4e 54 45 4e 54 3d 22 | 77 69 64 74 68 3d 64 65 |ONTENT="|width=de|
|00000130| 76 69 63 65 2d 77 69 64 | 74 68 2c 20 69 6e 69 74 |vice-wid|th, init|
|00000140| 69 61 6c 2d 73 63 61 6c | 65 3d 31 2e 30 22 3e 0a |ial-scal|e=1.0">.|
|00000150| 3c 4d 45 54 41 20 4e 41 | 4d 45 3d 22 47 65 6e 65 |<META NA|ME="Gene|
|00000160| 72 61 74 6f 72 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |rator" C|ONTENT="|
|00000170| 4c 61 54 65 58 32 48 54 | 4d 4c 20 76 32 30 32 32 |LaTeX2HT|ML v2022|
|00000180| 22 3e 0a 0a 3c 4c 49 4e | 4b 20 52 45 4c 3d 22 53 |">..<LIN|K REL="S|
|00000190| 54 59 4c 45 53 48 45 45 | 54 22 20 48 52 45 46 3d |TYLESHEE|T" HREF=|
|000001a0| 22 73 75 72 66 61 63 65 | 73 2e 63 73 73 22 3e 0a |"surface|s.css">.|
|000001b0| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 70 72 65 76 |.<LINK R|EL="prev|
|000001c0| 69 6f 75 73 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |ious" HR|EF="node|
|000001d0| 34 5f 6d 6e 2e 68 74 6d | 6c 22 3e 0a 3c 4c 49 4e |4_mn.htm|l">.<LIN|
|000001e0| 4b 20 52 45 4c 3d 22 75 | 70 22 20 48 52 45 46 3d |K REL="u|p" HREF=|
|000001f0| 22 6e 6f 64 65 31 5f 6d | 6e 2e 68 74 6d 6c 22 3e |"node1_m|n.html">|
|00000200| 0a 3c 2f 48 45 41 44 3e | 0a 20 0a 3c 42 4f 44 59 |.</HEAD>|. .<BODY|
|00000210| 20 62 67 63 6f 6c 6f 72 | 3d 22 23 66 66 66 66 66 | bgcolor|="#fffff|
|00000220| 66 22 20 74 65 78 74 3d | 22 23 30 30 30 30 30 30 |f" text=|"#000000|
|00000230| 22 20 6c 69 6e 6b 3d 22 | 23 39 39 34 34 45 45 22 |" link="|#9944EE"|
|00000240| 20 76 6c 69 6e 6b 3d 22 | 23 30 30 30 30 66 66 22 | vlink="|#0000ff"|
|00000250| 20 61 6c 69 6e 6b 3d 22 | 23 30 30 66 66 30 30 22 | alink="|#00ff00"|
|00000260| 3e 0a 0a 3c 48 31 3e 3c | 41 20 49 44 3d 22 53 45 |>..<H1><|A ID="SE|
|00000270| 43 54 49 4f 4e 30 30 31 | 34 30 30 30 30 30 30 30 |CTION001|40000000|
|00000280| 30 30 30 30 30 30 30 30 | 30 22 3e 0a 53 75 72 66 |00000000|0">.Surf|
|00000290| 61 63 65 20 53 70 65 63 | 69 66 69 63 61 74 69 6f |ace Spec|ificatio|
|000002a0| 6e 3c 2f 41 3e 0a 3c 2f | 48 31 3e 0a 0a 3c 50 3e |n</A>.</|H1>..<P>|
|000002b0| 0a 70 72 6f 76 69 64 65 | 73 20 61 20 6e 75 6d 62 |.provide|s a numb|
|000002c0| 65 72 20 6f 66 20 77 61 | 79 73 20 74 6f 20 64 65 |er of wa|ys to de|
|000002d0| 66 69 6e 65 20 73 75 72 | 66 61 63 65 73 20 61 6e |fine sur|faces an|
|000002e0| 64 20 74 6f 0a 62 69 6e | 64 20 74 68 65 73 65 20 |d to.bin|d these |
|000002f0| 73 75 72 66 61 63 65 73 | 20 74 6f 20 6f 62 6a 65 |surfaces| to obje|
|00000300| 63 74 73 2e 20 20 54 68 | 65 20 6d 6f 73 74 20 73 |cts. Th|e most s|
|00000310| 74 72 61 69 67 68 74 2d | 66 6f 72 77 61 72 64 20 |traight-|forward |
|00000320| 6d 65 74 68 6f 64 0a 6f | 66 20 73 75 72 66 61 63 |method.o|f surfac|
|00000330| 65 20 73 70 65 63 69 66 | 69 63 61 74 69 6f 6e 20 |e specif|ication |
|00000340| 69 73 20 74 6f 20 73 69 | 6d 70 6c 79 20 6c 69 73 |is to si|mply lis|
|00000350| 74 20 74 68 65 20 73 75 | 72 66 61 63 65 20 70 72 |t the su|rface pr|
|00000360| 6f 70 65 72 74 69 65 73 | 20 74 6f 0a 62 65 20 75 |operties| to.be u|
|00000370| 73 65 64 2e 0a 41 6c 74 | 65 72 6e 61 74 69 76 65 |sed..Alt|ernative|
|00000380| 6c 79 2c 20 6f 6e 65 20 | 6d 61 79 20 61 73 73 6f |ly, one |may asso|
|00000390| 63 69 61 74 65 20 61 20 | 6e 61 6d 65 20 77 69 74 |ciate a |name wit|
|000003a0| 68 20 61 20 67 69 76 65 | 6e 20 73 75 72 66 61 63 |h a give|n surfac|
|000003b0| 65 2e 0a 54 68 69 73 20 | 6e 61 6d 65 20 6d 61 79 |e..This |name may|
|000003c0| 20 73 75 62 73 65 71 75 | 65 6e 74 6c 79 20 62 65 | subsequ|ently be|
|000003d0| 20 75 73 65 64 20 74 6f | 20 72 65 66 65 72 20 74 | used to| refer t|
|000003e0| 6f 20 74 68 61 74 20 73 | 75 72 66 61 63 65 2e 0a |o that s|urface..|
|000003f0| 0a 3c 50 3e 0a 3c 42 52 | 3e 0a 3c 49 4d 47 0a 20 |.<P>.<BR|>.<IMG. |
|00000400| 20 53 54 59 4c 45 3d 22 | 68 65 69 67 68 74 3a 20 | STYLE="|height: |
|00000410| 32 2e 33 38 65 78 3b 20 | 76 65 72 74 69 63 61 6c |2.38ex; |vertical|
|00000420| 2d 61 6c 69 67 6e 3a 20 | 31 37 36 2e 34 30 65 78 |-align: |176.40ex|
|00000430| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 31 35 2e 70 |; " SRC=|"img15.p|
|00000440| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000450| 7b 64 65 66 6b 65 79 7d | 7b 73 75 72 66 61 63 65 |{defkey}|{surface|
|00000460| 7d 7b 7b 5c 65 6d 20 6e | 61 6d 65 5c 2f 7d 20 24 |}{{\em n|ame\/} $|
|00000470| 26 6c 74 3b 24 7b 5c 65 | 6d 20 53 75 72 66 61 63 |<${\e|m Surfac|
|00000480| 65 20 44 65 66 69 6e 69 | 74 69 6f 6e 7d 24 26 67 |e Defini|tion}$&g|
|00000490| 74 3b 24 7d 0a 41 73 73 | 6f 63 69 61 74 65 20 74 |t;$}.Ass|ociate t|
|000004a0| 68 65 20 67 69 76 65 6e | 20 63 6f 6c 6c 65 63 74 |he given| collect|
|000004b0| 69 6f 6e 20 6f 66 20 73 | 75 72 66 61 63 65 20 61 |ion of s|urface a|
|000004c0| 74 74 72 69 62 75 74 65 | 73 20 77 69 74 68 20 74 |ttribute|s with t|
|000004d0| 68 65 0a 67 69 76 65 6e | 20 6e 61 6d 65 2e 0a 5c |he.given| name..\|
|000004e0| 65 6e 64 7b 64 65 66 6b | 65 79 7d 22 3e 0a 3c 42 |end{defk|ey}">.<B|
|000004f0| 52 3e 0a 0a 3c 50 3e 0a | 54 68 65 20 62 69 6e 64 |R>..<P>.|The bind|
|00000500| 69 6e 67 20 6f 66 20 61 | 20 63 6f 6c 6c 65 63 74 |ing of a| collect|
|00000510| 69 6f 6e 20 6f 66 20 73 | 75 72 66 61 63 65 20 70 |ion of s|urface p|
|00000520| 72 6f 70 65 72 74 69 65 | 73 20 74 6f 20 61 20 67 |ropertie|s to a g|
|00000530| 69 76 65 6e 20 6f 62 6a | 65 63 74 0a 69 73 20 61 |iven obj|ect.is a|
|00000540| 63 63 6f 6d 70 6c 69 73 | 68 65 64 20 69 6e 20 61 |ccomplis|hed in a|
|00000550| 20 62 6f 74 74 6f 6d 2d | 75 70 20 6d 61 6e 6e 65 | bottom-|up manne|
|00000560| 72 3b 20 74 68 65 20 73 | 75 72 66 61 63 65 20 74 |r; the s|urface t|
|00000570| 68 61 74 20 60 60 63 6c | 6f 73 65 73 74 27 27 0a |hat ``cl|osest''.|
|00000580| 69 6e 20 74 68 65 20 6d | 6f 64 65 6c 69 6e 67 20 |in the m|odeling |
|00000590| 74 72 65 65 20 74 6f 20 | 74 68 65 20 70 72 69 6d |tree to |the prim|
|000005a0| 69 74 69 76 65 20 62 65 | 69 6e 67 20 72 65 6e 64 |itive be|ing rend|
|000005b0| 65 72 65 64 20 69 73 20 | 74 68 65 20 6f 6e 65 20 |ered is |the one |
|000005c0| 74 68 61 74 0a 69 73 20 | 75 73 65 64 20 74 6f 20 |that.is |used to |
|000005d0| 67 69 76 65 20 74 68 65 | 20 70 72 69 6d 69 74 69 |give the| primiti|
|000005e0| 76 65 20 69 74 73 20 61 | 70 70 65 61 72 61 6e 63 |ve its a|ppearanc|
|000005f0| 65 2e 0a 0a 3c 50 3e 0a | 41 6e 20 6f 62 6a 65 63 |e...<P>.|An objec|
|00000600| 74 20 74 68 61 74 20 68 | 61 73 20 6e 6f 20 73 75 |t that h|as no su|
|00000610| 72 66 61 63 65 20 62 6f | 75 6e 64 20 74 6f 20 69 |rface bo|und to i|
|00000620| 74 20 69 73 20 61 73 73 | 69 67 6e 65 64 20 61 20 |t is ass|igned a |
|00000630| 64 65 66 61 75 6c 74 20 | 73 75 72 66 61 63 65 0a |default |surface.|
|00000640| 74 68 61 74 20 67 69 76 | 65 73 20 74 68 65 20 61 |that giv|es the a|
|00000650| 70 70 65 61 72 61 6e 63 | 65 20 6f 66 20 77 68 69 |ppearanc|e of whi|
|00000660| 74 65 20 70 6c 61 73 74 | 69 63 2e 0a 0a 3c 50 3e |te plast|ic...<P>|
|00000670| 0a 54 68 65 0a 6d 6f 73 | 74 20 64 69 72 65 63 74 |.The.mos|t direct|
|00000680| 20 77 61 79 20 74 6f 20 | 62 69 6e 64 20 61 20 73 | way to |bind a s|
|00000690| 75 72 66 61 63 65 20 74 | 6f 20 61 20 70 72 69 6d |urface t|o a prim|
|000006a0| 69 74 69 76 65 0a 69 73 | 20 74 6f 20 73 70 65 63 |itive.is| to spec|
|000006b0| 69 66 79 20 74 68 65 20 | 73 75 72 66 61 63 65 20 |ify the |surface |
|000006c0| 77 68 65 6e 20 74 68 65 | 0a 74 68 65 20 70 72 69 |when the|.the pri|
|000006d0| 6d 69 74 69 76 65 20 69 | 6e 73 74 61 6e 74 69 61 |mitive i|nstantia|
|000006e0| 74 65 64 2e 0a 54 68 69 | 73 20 69 73 20 61 63 63 |ted..Thi|s is acc|
|000006f0| 6f 6d 70 6c 69 73 68 65 | 64 0a 62 79 20 69 6e 73 |omplishe|d.by ins|
|00000700| 65 72 74 69 6e 67 20 61 | 20 6c 69 73 74 20 6f 66 |erting a| list of|
|00000710| 20 73 75 72 66 61 63 65 | 20 61 74 74 72 69 62 75 | surface| attribu|
|00000720| 74 65 73 20 6f 72 20 61 | 20 73 75 72 66 61 63 65 |tes or a| surface|
|00000730| 20 6e 61 6d 65 20 61 66 | 74 65 72 0a 74 68 65 20 | name af|ter.the |
|00000740| 70 72 69 6d 69 74 69 76 | 65 27 73 20 74 79 70 65 |primitiv|e's type|
|00000750| 20 6b 65 79 77 6f 72 64 | 20 61 6e 64 20 62 65 66 | keyword| and bef|
|00000760| 6f 72 65 20 74 68 65 20 | 61 63 74 75 61 6c 20 70 |ore the |actual p|
|00000770| 72 69 6d 69 74 69 76 65 | 20 64 61 74 61 2e 0a 0a |rimitive| data...|
|00000780| 3c 50 3e 0a 3c 50 52 45 | 3e 0a 20 20 20 20 2f 2a |<P>.<PRE|>. /*|
|00000790| 0a 20 20 20 20 20 2a 20 | 41 20 72 65 64 20 27 6d |. * |A red 'm|
|000007a0| 75 64 27 20 63 6f 6c 6f | 72 65 64 20 73 70 68 65 |ud' colo|red sphe|
|000007b0| 72 65 20 72 65 73 65 74 | 69 6e 67 20 6f 6e 20 61 |re reset|ing on a|
|000007c0| 0a 20 20 20 20 20 2a 20 | 77 68 69 74 65 20 73 70 |. * |white sp|
|000007d0| 68 65 72 65 2e 20 54 6f | 20 74 68 65 20 72 69 67 |here. To| the rig|
|000007e0| 68 74 20 69 73 20 61 20 | 73 70 68 65 72 65 20 77 |ht is a |sphere w|
|000007f0| 69 74 68 0a 20 20 20 20 | 20 2a 20 64 65 66 61 75 |ith. | * defau|
|00000800| 6c 74 20 73 75 72 66 61 | 63 65 20 61 74 74 72 69 |lt surfa|ce attri|
|00000810| 62 75 74 65 73 2e 0a 20 | 20 20 20 20 2a 2f 0a 20 |butes.. | */. |
|00000820| 20 20 20 73 75 72 66 61 | 63 65 20 6d 75 64 20 61 | surfa|ce mud a|
|00000830| 6d 62 69 65 6e 74 20 2e | 30 33 20 30 2e 20 30 2e |mbient .|03 0. 0.|
|00000840| 20 20 64 69 66 66 75 73 | 65 20 2e 37 20 2e 33 20 | diffus|e .7 .3 |
|00000850| 30 2e 0a 20 20 20 20 73 | 70 68 65 72 65 20 20 61 |0.. s|phere a|
|00000860| 6d 62 69 65 6e 74 20 2e | 30 35 20 2e 30 35 20 2e |mbient .|05 .05 .|
|00000870| 30 35 20 64 69 66 66 75 | 73 65 20 2e 37 20 2e 37 |05 diffu|se .7 .7|
|00000880| 20 2e 37 20 20 20 31 2e | 20 30 20 30 20 30 0a 20 | .7 1.| 0 0 0. |
|00000890| 20 20 20 73 70 68 65 72 | 65 20 6d 75 64 20 20 31 | spher|e mud 1|
|000008a0| 2e 20 30 20 30 20 32 0a | 20 20 20 20 73 70 68 65 |. 0 0 2.| sphe|
|000008b0| 72 65 20 31 2e 20 31 2e | 35 20 30 20 30 0a 3c 2f |re 1. 1.|5 0 0.</|
|000008c0| 50 52 45 3e 0a 0a 3c 50 | 3e 0a 48 65 72 65 2c 20 |PRE>..<P|>.Here, |
|000008d0| 77 65 20 64 65 66 69 6e | 65 20 61 20 72 65 64 20 |we defin|e a red |
|000008e0| 73 75 72 66 61 63 65 20 | 6e 61 6d 65 64 20 60 60 |surface |named ``|
|000008f0| 6d 75 64 27 27 2e 20 20 | 57 65 20 74 68 65 6e 20 |mud''. |We then |
|00000900| 69 6e 73 74 61 6e 74 69 | 61 74 65 0a 61 20 73 70 |instanti|ate.a sp|
|00000910| 68 65 72 65 2c 20 77 68 | 69 63 68 20 68 61 73 20 |here, wh|ich has |
|00000920| 61 20 64 69 66 66 75 73 | 65 20 77 68 69 74 65 20 |a diffus|e white |
|00000930| 73 75 72 66 61 63 65 20 | 62 6f 75 6e 64 20 74 6f |surface |bound to|
|00000940| 20 69 74 2e 20 20 54 68 | 65 0a 6e 65 78 74 20 6c | it. Th|e.next l|
|00000950| 69 6e 65 20 69 6e 73 74 | 61 6e 74 69 61 74 65 73 |ine inst|antiates|
|00000960| 20 61 20 73 70 68 65 72 | 65 20 77 69 74 68 20 74 | a spher|e with t|
|00000970| 68 65 20 64 65 66 69 6e | 65 64 20 60 60 6d 75 64 |he defin|ed ``mud|
|00000980| 27 27 20 73 75 72 66 61 | 63 65 20 62 6f 75 6e 64 |'' surfa|ce bound|
|00000990| 0a 74 6f 20 69 74 2e 20 | 20 54 68 65 20 6c 61 73 |.to it. | The las|
|000009a0| 74 20 6c 69 6e 65 20 69 | 6e 73 74 61 6e 74 69 61 |t line i|nstantia|
|000009b0| 74 65 73 20 61 20 73 70 | 68 65 72 65 20 77 69 74 |tes a sp|here wit|
|000009c0| 68 20 6e 6f 20 73 75 72 | 66 61 63 65 20 62 6f 75 |h no sur|face bou|
|000009d0| 6e 64 20 74 6f 20 69 74 | 3b 0a 69 74 20 69 73 20 |nd to it|;.it is |
|000009e0| 61 73 73 69 67 6e 65 64 | 20 74 68 65 20 64 65 66 |assigned| the def|
|000009f0| 61 75 6c 74 20 73 75 72 | 66 61 63 65 20 62 79 20 |ault sur|face by |
|00000a00| 2e 0a 0a 3c 50 3e 0a 54 | 68 65 20 3c 54 54 3e 61 |...<P>.T|he <TT>a|
|00000a10| 70 70 6c 79 73 75 72 66 | 3c 2f 54 54 3e 20 6b 65 |pplysurf|</TT> ke|
|00000a20| 79 77 6f 72 64 20 6d 61 | 79 20 62 65 20 75 73 65 |yword ma|y be use|
|00000a30| 64 20 74 6f 20 73 65 74 | 20 74 68 65 20 64 65 66 |d to set| the def|
|00000a40| 61 75 6c 74 20 73 75 72 | 66 61 63 65 0a 63 68 61 |ault sur|face.cha|
|00000a50| 72 61 63 74 65 72 69 73 | 74 69 63 73 20 66 6f 72 |racteris|tics for|
|00000a60| 20 74 68 65 20 61 67 67 | 72 65 67 61 74 65 20 6f | the agg|regate o|
|00000a70| 62 6a 65 63 74 20 63 75 | 72 72 65 6e 74 6c 79 20 |bject cu|rrently |
|00000a80| 62 65 69 6e 67 20 64 65 | 66 69 6e 65 64 2e 0a 0a |being de|fined...|
|00000a90| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|00000aa0| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 32 |STYLE="h|eight: 2|
|00000ab0| 2e 31 37 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.17ex; v|ertical-|
|00000ac0| 61 6c 69 67 6e 3a 20 31 | 37 36 2e 36 38 65 78 3b |align: 1|76.68ex;|
|00000ad0| 20 22 20 53 52 43 3d 22 | 69 6d 67 31 36 2e 70 6e | " SRC="|img16.pn|
|00000ae0| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000af0| 64 65 66 6b 65 79 7d 7b | 61 70 70 6c 79 73 75 72 |defkey}{|applysur|
|00000b00| 66 7d 7b 24 26 6c 74 3b | 24 7b 5c 65 6d 20 53 75 |f}{$<|${\em Su|
|00000b10| 72 66 61 63 65 20 53 70 | 65 63 69 66 69 63 61 74 |rface Sp|ecificat|
|00000b20| 69 6f 6e 7d 24 26 67 74 | 3b 24 7d 0a 54 68 65 20 |ion}$>|;$}.The |
|00000b30| 73 70 65 63 69 66 69 65 | 64 20 73 75 72 66 61 2e |specifie|d surfa.|
|00000b40| 2e 2e 0a 2e 2e 2e 66 20 | 74 68 69 73 20 6b 65 79 |......f |this key|
|00000b50| 77 6f 72 64 20 69 73 20 | 6c 69 6d 69 74 65 64 20 |word is |limited |
|00000b60| 74 6f 20 74 68 65 20 61 | 67 67 72 65 67 61 74 65 |to the a|ggregate|
|00000b70| 20 63 75 72 72 65 6e 74 | 6c 79 0a 62 65 69 6e 67 | current|ly.being|
|00000b80| 20 64 65 66 69 6e 65 64 | 2e 0a 5c 65 6e 64 7b 64 | defined|..\end{d|
|00000b90| 65 66 6b 65 79 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |efkey}">|.<BR>..<|
|00000ba0| 50 3e 0a 3c 50 52 45 3e | 0a 20 20 20 20 2f 2a 0a |P>.<PRE>|. /*.|
|00000bb0| 20 20 20 20 20 2a 20 4d | 69 72 72 6f 72 65 64 20 | * M|irrored |
|00000bc0| 62 61 6c 6c 20 61 6e 64 | 20 63 79 6c 69 6e 64 65 |ball and| cylinde|
|00000bd0| 72 20 73 69 74 74 69 6e | 67 20 6f 6e 20 27 64 65 |r sittin|g on 'de|
|00000be0| 66 61 75 6c 74 27 20 70 | 6c 61 6e 65 2e 0a 20 20 |fault' p|lane.. |
|00000bf0| 20 20 20 2a 2f 0a 20 20 | 20 20 73 75 72 66 61 63 | */. | surfac|
|00000c00| 65 20 6d 69 72 72 6f 72 | 20 61 6d 62 69 65 6e 74 |e mirror| ambient|
|00000c10| 20 2e 30 31 20 2e 30 31 | 20 2e 30 31 0a 20 20 20 | .01 .01| .01. |
|00000c20| 20 20 20 20 20 20 20 20 | 20 64 69 66 66 75 73 65 | | diffuse|
|00000c30| 20 2e 30 35 20 2e 30 35 | 20 2e 30 35 0a 20 20 20 | .05 .05| .05. |
|00000c40| 20 20 20 20 20 20 20 20 | 20 73 70 65 63 75 6c 61 | | specula|
|00000c50| 72 20 2e 38 20 2e 38 20 | 2e 38 20 73 70 65 63 70 |r .8 .8 |.8 specp|
|00000c60| 6f 77 20 32 30 20 20 72 | 65 66 6c 65 63 74 20 30 |ow 20 r|eflect 0|
|00000c70| 2e 39 35 0a 20 20 20 20 | 70 6c 61 6e 65 20 30 20 |.95. |plane 0 |
|00000c80| 30 20 30 20 20 30 20 30 | 20 31 0a 20 20 20 20 61 |0 0 0 0| 1. a|
|00000c90| 70 70 6c 79 73 75 72 66 | 20 6d 69 72 72 6f 72 0a |pplysurf| mirror.|
|00000ca0| 20 20 20 20 73 70 68 65 | 72 65 20 31 20 30 20 30 | sphe|re 1 0 0|
|00000cb0| 20 30 0a 20 20 20 20 63 | 79 6c 69 6e 64 65 72 20 | 0. c|ylinder |
|00000cc0| 31 20 20 33 20 30 20 30 | 20 20 33 20 30 20 33 0a |1 3 0 0| 3 0 3.|
|00000cd0| 3c 2f 50 52 45 3e 0a 0a | 3c 50 3e 0a 46 6f 72 20 |</PRE>..|<P>.For |
|00000ce0| 63 6f 6e 76 65 6e 69 65 | 6e 63 65 2c 20 74 68 65 |convenie|nce, the|
|00000cf0| 20 6e 61 6d 65 20 3c 54 | 54 3e 63 75 72 73 75 72 | name <T|T>cursur|
|00000d00| 66 3c 2f 54 54 3e 20 6d | 61 79 20 62 65 20 75 73 |f</TT> m|ay be us|
|00000d10| 65 64 20 74 6f 20 72 65 | 66 65 72 20 74 6f 20 74 |ed to re|fer to t|
|00000d20| 68 65 0a 63 75 72 72 65 | 6e 74 20 64 65 66 61 75 |he.curre|nt defau|
|00000d30| 6c 74 20 73 75 72 66 61 | 63 65 2e 0a 0a 3c 50 3e |lt surfa|ce...<P>|
|00000d40| 0a 54 68 65 20 75 74 69 | 6c 69 74 79 20 6f 66 20 |.The uti|lity of |
|00000d50| 62 6f 74 74 6f 6d 2d 75 | 70 20 62 69 6e 64 69 6e |bottom-u|p bindin|
|00000d60| 67 20 6f 66 20 73 75 72 | 66 61 63 65 73 20 6c 69 |g of sur|faces li|
|00000d70| 65 73 20 69 6e 20 74 68 | 65 20 66 61 63 74 20 74 |es in th|e fact t|
|00000d80| 68 61 74 0a 6f 6e 65 20 | 6d 61 79 20 62 65 20 61 |hat.one |may be a|
|00000d90| 73 20 61 64 61 6d 61 6e | 74 20 6f 72 20 61 73 20 |s adaman|t or as |
|00000da0| 6e 6f 6e 63 6f 6d 6d 69 | 74 74 61 6c 20 61 62 6f |noncommi|ttal abo|
|00000db0| 75 74 0a 73 75 72 66 61 | 63 65 20 62 69 6e 64 69 |ut.surfa|ce bindi|
|00000dc0| 6e 67 20 61 73 20 6f 6e | 65 20 73 65 65 73 20 66 |ng as on|e sees f|
|00000dd0| 69 74 20 77 68 65 6e 20 | 64 65 66 69 6e 69 6e 67 |it when |defining|
|00000de0| 20 6f 62 6a 65 63 74 73 | 2e 20 20 46 6f 72 20 65 | objects|. For e|
|00000df0| 78 61 6d 70 6c 65 2c 0a | 6f 6e 65 20 63 6f 75 6c |xample,.|one coul|
|00000e00| 64 20 64 65 66 69 6e 65 | 20 61 20 6b 69 6e 67 20 |d define| a king |
|00000e10| 63 68 65 73 73 20 70 69 | 65 63 65 20 63 6f 6e 73 |chess pi|ece cons|
|00000e20| 69 73 74 69 6e 67 20 6f | 66 20 74 72 69 61 6e 67 |isting o|f triang|
|00000e30| 6c 65 73 20 74 68 61 74 | 20 68 61 76 65 20 6e 6f |les that| have no|
|00000e40| 0a 73 75 72 66 61 63 65 | 20 62 6f 75 6e 64 20 74 |.surface| bound t|
|00000e50| 6f 20 74 68 65 6d 2c 20 | 73 61 76 65 20 66 6f 72 |o them, |save for|
|00000e60| 20 74 68 65 20 63 72 6f | 73 73 20 6f 6e 20 74 6f | the cro|ss on to|
|00000e70| 70 2c 20 77 68 69 63 68 | 20 68 61 73 0a 61 20 67 |p, which| has.a g|
|00000e80| 6f 6c 64 2d 63 6f 6c 6f | 72 65 64 20 73 75 72 66 |old-colo|red surf|
|00000e90| 61 63 65 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ace asso|ciated w|
|00000ea0| 69 74 68 20 69 74 2e 20 | 20 4f 6e 65 20 6d 61 79 |ith it. | One may|
|00000eb0| 20 74 68 65 6e 20 69 6e | 73 74 61 6e 74 69 61 74 | then in|stantiat|
|00000ec0| 65 0a 74 68 65 20 6b 69 | 6e 67 20 74 77 69 63 65 |e.the ki|ng twice|
|00000ed0| 2c 20 6f 6e 63 65 20 61 | 70 70 6c 79 69 6e 67 20 |, once a|pplying |
|00000ee0| 61 20 62 6c 61 63 6b 20 | 73 75 72 66 61 63 65 2c |a black |surface,|
|00000ef0| 20 61 6e 64 20 6f 6e 63 | 65 20 61 70 70 6c 79 69 | and onc|e applyi|
|00000f00| 6e 67 0a 61 20 77 68 69 | 74 65 20 73 75 72 66 61 |ng.a whi|te surfa|
|00000f10| 63 65 2e 20 20 54 68 65 | 20 72 65 73 75 6c 74 3a |ce. The| result:|
|00000f20| 20 20 61 20 62 6c 61 63 | 6b 20 6b 69 6e 67 20 61 | a blac|k king a|
|00000f30| 6e 64 20 61 20 77 68 69 | 74 65 20 6b 69 6e 67 2c |nd a whi|te king,|
|00000f40| 20 65 61 63 68 0a 61 64 | 6f 72 6e 65 64 20 77 69 | each.ad|orned wi|
|00000f50| 74 68 20 61 20 67 6f 6c | 64 65 6e 20 63 72 6f 73 |th a gol|den cros|
|00000f60| 73 2e 0a 0a 3c 50 3e 0a | 3c 50 52 45 3e 0a 20 20 |s...<P>.|<PRE>. |
|00000f70| 20 20 73 75 72 66 61 63 | 65 20 77 68 69 74 65 20 | surfac|e white |
|00000f80| 2e 2e 2e 0a 20 20 20 20 | 73 75 72 66 61 63 65 20 |.... |surface |
|00000f90| 62 6c 61 63 6b 20 2e 2e | 2e 0a 20 20 20 20 73 75 |black ..|.. su|
|00000fa0| 72 66 61 63 65 20 67 6f | 6c 64 20 20 2e 2e 2e 0a |rface go|ld ....|
|00000fb0| 20 20 20 20 2e 2e 2e 0a | 20 20 20 20 64 65 66 69 | ....| defi|
|00000fc0| 6e 65 20 63 72 6f 73 73 | 0a 20 20 20 20 20 20 20 |ne cross|. |
|00000fd0| 20 20 20 20 20 62 6f 78 | 20 78 20 79 20 7a 20 20 | box| x y z |
|00000fe0| 78 20 79 20 7a 0a 20 20 | 20 20 20 20 20 20 20 20 |x y z. | |
|00000ff0| 20 20 2e 2e 2e 0a 20 20 | 20 20 64 65 66 65 6e 64 | .... | defend|
|00001000| 0a 20 20 20 20 64 65 66 | 69 6e 65 20 6b 69 6e 67 |. def|ine king|
|00001010| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 74 72 69 |. | tri|
|00001020| 61 6e 67 6c 65 20 78 20 | 79 20 7a 20 20 78 20 79 |angle x |y z x y|
|00001030| 20 7a 20 20 78 20 79 20 | 7a 0a 20 20 20 20 20 20 | z x y |z. |
|00001040| 20 20 20 20 20 20 2e 2e | 2e 0a 20 20 20 20 20 20 | ..|.. |
|00001050| 20 20 20 20 20 20 6f 62 | 6a 65 63 74 20 67 6f 6c | ob|ject gol|
|00001060| 64 20 63 72 6f 73 73 0a | 20 20 20 20 64 65 66 65 |d cross.| defe|
|00001070| 6e 64 0a 0a 20 20 20 20 | 6f 62 6a 65 63 74 20 77 |nd.. |object w|
|00001080| 68 69 74 65 20 6b 69 6e | 67 20 74 72 61 6e 73 6c |hite kin|g transl|
|00001090| 61 74 65 20 31 2e 20 30 | 20 30 0a 20 20 20 20 6f |ate 1. 0| 0. o|
|000010a0| 62 6a 65 63 74 20 62 6c | 61 63 6b 20 6b 69 6e 67 |bject bl|ack king|
|000010b0| 0a 3c 2f 50 52 45 3e 0a | 3c 48 52 3e 0a 0a 3c 2f |.</PRE>.|<HR>..</|
|000010c0| 42 4f 44 59 3e 0a 3c 2f | 48 54 4d 4c 3e 0a |BODY>.</|HTML>. |
+--------+-------------------------+-------------------------+--------+--------+